package com.qf.czh.vhr.Mapper;

import com.qf.czh.vhr.entity.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper {

    List<Department> getDepartmentByPid(int pid);

    void addDepartment(Department department);

    List<Department> getAllDepsWithoutChildren();

    void deleteDepartmentById(Department department);
}
